package com.ruoyi.kong.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * kong配置信息对象 kongx_system_profile
 * 
 * @author ruoyi
 * @date 2021-08-27
 */
public class KongxSystemProfile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 环境编码 */
    @Excel(name = "环境编码")
    private String profileCode;

    /** 配置名称 */
    @Excel(name = "配置名称")
    private String name;

    /** 所属环境 */
    @Excel(name = "所属环境")
    private String env;

    /** 部署类型 */
    @Excel(name = "部署类型")
    private String deployType;

    /** 简称 */
    @Excel(name = "简称")
    private String abbreviation;

    /** kong版本号 */
    @Excel(name = "kong版本号")
    private String version;

    /** kong服务器url */
    @Excel(name = "kong服务器url")
    private String url;

    /** 额外信息 */
    @Excel(name = "额外信息")
    private String extensions;

    /** 额外信息 */
    @Excel(name = "激活时间")
    private Date activeTime;

    /** 激活标识 */
    @Excel(name = "激活标识")
    private String active;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProfileCode(String profileCode) 
    {
        this.profileCode = profileCode;
    }

    public String getProfileCode() 
    {
        return profileCode;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setEnv(String env) 
    {
        this.env = env;
    }

    public String getEnv() 
    {
        return env;
    }
    public void setDeployType(String deployType) 
    {
        this.deployType = deployType;
    }

    public String getDeployType() 
    {
        return deployType;
    }
    public void setAbbreviation(String abbreviation) 
    {
        this.abbreviation = abbreviation;
    }

    public String getAbbreviation() 
    {
        return abbreviation;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setExtensions(String extensions) 
    {
        this.extensions = extensions;
    }

    public String getExtensions() 
    {
        return extensions;
    }

    public Date getActiveTime() {
        return activeTime;
    }

    public void setActiveTime(Date activeTime) {
        this.activeTime = activeTime;
    }

    public String getActive() {
        return active;
    }

    public void setActive(String active) {
        this.active = active;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("profileCode", getProfileCode())
            .append("name", getName())
            .append("env", getEnv())
            .append("deployType", getDeployType())
            .append("abbreviation", getAbbreviation())
            .append("version", getVersion())
            .append("url", getUrl())
            .append("extensions", getExtensions())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
